package com.suyuan.vo;

import com.suyuan.entity.PurchaseInfo;
import com.suyuan.entity.TransitBatchInfo;
import com.suyuan.entity.TransitInfo;

import java.io.Serializable;

/**
 * Created by yang on 2018/2/5.
 */
public class TransitInfoVO implements Serializable{

    /**
     * 物流信息
     */
    private TransitInfo transitInfo;

    /**
     * 物流批次信息
     */
    private NewTransitBatchVO newTransitBatchVO;

    /**
     * 生猪信息
     */
    private PurchaseInfo purchaseInfo;

    public TransitInfo getTransitInfo() {
        return transitInfo;
    }

    public void setTransitInfo(TransitInfo transitInfo) {
        this.transitInfo = transitInfo;
    }

    public PurchaseInfo getPurchaseInfo() {
        return purchaseInfo;
    }

    public void setPurchaseInfo(PurchaseInfo purchaseInfo) {
        this.purchaseInfo = purchaseInfo;
    }

    public NewTransitBatchVO getNewTransitBatchVO() {
        return newTransitBatchVO;
    }

    public void setNewTransitBatchVO(NewTransitBatchVO newTransitBatchVO) {
        this.newTransitBatchVO = newTransitBatchVO;
    }

  public TransitInfoVO(){}

    public TransitInfoVO(TransitInfo transitInfo, NewTransitBatchVO newTransitBatchVO, PurchaseInfo purchaseInfo) {
        this.transitInfo = transitInfo;
        this.newTransitBatchVO = newTransitBatchVO;
        this.purchaseInfo = purchaseInfo;
    }

    @Override
    public String toString() {
        return "TransitInfoVO{" +
                "transitInfo=" + transitInfo +
                ", newTransitBatchVO=" + newTransitBatchVO +
                ", purchaseInfo=" + purchaseInfo +
                '}';
    }
}
